package com.yunpeng.aidevice.dao.model.record;

import com.yunpeng.aidevice.dao.model.BaseRecordDO;

/**
 * <p>
 * 商户通知邮箱设置
 * </p>
 *
 * @author hemw
 * @since 2020-05-04
 */
public class MerchantNoticeMailDO extends BaseRecordDO {

    private static final long serialVersionUID = 1L;

    /**
     * 商户代码
     */

    private String merchantCode;

    /**
     * 租户代码
     */
    private String tenantCode;

    /**
     * 邮箱传输协议
     */

    private String protocol;

    /**
     * smtp邮箱
     */

    private String mailHost;

    /**
     * 发送人邮箱地址
     */

    private String senderEmail;

    /**
     * 发送人名称
     */

    private String senderName;

    /**
     * 发送人邮箱账户密码
     */

    private String password;

    /**
     * 是否默认
     */

    private Boolean isDefault;

    /**
     * 端口
     */
    private Integer port;

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getMailHost() {
        return mailHost;
    }

    public void setMailHost(String mailHost) {
        this.mailHost = mailHost;
    }

    public String getSenderEmail() {
        return senderEmail;
    }

    public void setSenderEmail(String senderEmail) {
        this.senderEmail = senderEmail;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "MerchantNoticeMailDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", tenantCode=" + tenantCode +
                ", merchantCode=" + merchantCode +
                ", protocol=" + protocol +
                ", mailHost=" + mailHost +
                ", senderEmail=" + senderEmail +
                ", senderName=" + senderName +
                ", password=" + password +
                ", isDefault=" + isDefault +
                ", port=" + port +
                "}";
    }
}
